package attend

import (
	"encoding/xml"
	"time"

	"gopkg.in/mgo.v2/bson"
)

type ATTENDS_XML struct {
	XMLName xml.Name `xml:"attends" json:"-"`

	Attends []ATTEND_XML `xml:"attend" json:"attends"`
}

type ATTEND_XML struct {
	XMLName      xml.Name      `xml:"attend" json:"-" bson:"-"`
	Id           bson.ObjectId `xml:"id"json:"id" bson:"_id,omitempty" `
	Name         string        `xml:"name" json:"name" bson:"name,omitempty"`
	Description  string        `xml:"description" json:"description" bson:"description,omitempty"`
	Date         string        `xml:"date" json:"date" bson:"date,omitempty"`
	Time         string        `xml:"time" json:"time" bson:"time,omitempty"`
	Mobile       string        `xml:"mobile" json:"mobile" bson:"mobile,omitempty"`
	Created_time time.Time     `xml:"created_time" json:"created_time" bson:"created_time,omitempty"`
}
